//
//  MConfigs.swift
//  FModuleA
//
//  Created by zk_01 on 2022/4/7.
//

import Foundation

/// 配置项
public struct MConfigs {
    
    /// 单例
    public static let shared = MConfigs()
    
    /// 用户ID
    public var userId:String = ""
    
    
    /// 根据用户ID获取用户名字
    /// - Parameter userId: 用户ID
    public func getUserName(by userId:String)->String{
        return "用户ID:\(userId)的名字为：小李"
    }
}
